package com.own.business.question.common.exception;

import com.own.business.question.common.em.QuestionExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * QuestionException
 *
 * @author chenxueli
 * @date 2021-6-17 16:36:46
 */
public class QuestionException extends BusinessException {

    public QuestionException() {
        super(QuestionExceptionEnum.DEFAULT);
    }

    public QuestionException(String message) {
        super(QuestionExceptionEnum.DEFAULT.code(), message);
    }

    public QuestionException(String code, String message) {
        super(code, message);
    }

}
